<div class="row animate fadeIn">
    <form id="" class="form-horizontal"  method="post">
      <?php foreach($company_data as $company) { ?>
        <div class="ibox-title" style="border:none;"><h5 style="color: #00afef"><i>View Company</i></h5>
            
        </div>
        <div class="ibox-content">   
          <div class="form-group"> 
              <label class="col-lg-4 control-label">Company Name</label>
            <div class="col-lg-5">
              <input type="text" name="" class="form-control" value="<?php echo $company->company_name; ?>" disabled>
            </div>
          </div>
          <div class="form-group"> 
              <label class="col-lg-4 control-label">Address 1</label>
            <div class="col-lg-5">
              <input type="text" name="" class="form-control" value="<?php echo $company->address_line1; ?>" disabled>
            </div>
          </div>
          <div class="form-group"> 
              <label class="col-lg-4 control-label">Address 2</label>
            <div class="col-lg-5">
              <input type="text" name="" class="form-control"  value="<?php echo $company->address_line2; ?>" disabled>
            </div>
          </div>
          <div class="form-group"> 
              <label class="col-lg-4 control-label">Address 3</label>
            <div class="col-lg-5">
              <input type="text" name="" class="form-control" value="<?php echo $company->address_line3; ?>" disabled>
            </div>
          </div>
          <div class="form-group"> 
              <label class="col-lg-4 control-label">Cell/Telephone Number:</label>
            <div class="col-lg-5">
              <input type="text" name="" class="form-control" value="<?php echo $company->tel_num; ?>" disabled>
            </div>
          </div>
          <div class="form-group"> 
              <label class="col-lg-4 control-label">Tax Number</label>
            <div class="col-lg-5">
              <input type="text" name="" class="form-control" value="<?php echo $company->tax_num; ?>" disabled>
            </div>
          </div>
          <div class="form-group"> 
              <label class="col-lg-4 control-label">Logo File Name</label>
            <div class="col-lg-5">
              <input type="text" name="" class="form-control" value="<?php echo $company->logo_file_name; ?>" disabled>
            </div>
          </div>
          <div class="form-group">
              <label class="col-lg-4 control-label">Enable</label>
            <div class="col-lg-5">
              <input type="checkbox" value="ok" name="" id="" class="i-checks" <?php echo($company->enable_flag == 'Y' ? 'checked' : '' ); ?>  disabled>
            </div>
          </div>
        </div>
       <?php } ?> 
    </form>
<!--  -->
</div>
<script>
  $(document).ready(function(){
    //$('#add_company_form').data('serialize',$('#add_company_form').serialize());
    $('.i-checks').iCheck({
      checkboxClass: 'icheckbox_square-green',
      radioClass: 'iradio_square-green',
    });
    $('#viewX').click(function(){
      close_view(); active_search();       
    });

  });
</script>